package com.eastmoney.emis.edda.domain.event;

import com.eastmoney.emis.edda.domain.service.edda.EddaOtpConfirmCommand;
import com.eastmoney.emis.edda.domain.valueobject.EddaOperation;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.domain.event
 * @author: 汪程程
 * @date: 2022/9/29 4:29 PM
 * @version: 1.0
 */
public class EddaOtpConfirmEvent extends EddaEvent {

    public EddaOtpConfirmEvent() {}

    public EddaOtpConfirmEvent(EddaOtpConfirmCommand confirmCommand){
        this.clientId = confirmCommand.getClientId();
        this.operation = EddaOperation.OTP_CONFIRM.getValue();
    }
}
